package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.FamilyMember;
import com.zzyl.nursing.dto.DayDataDto;
import com.zzyl.nursing.dto.UserLoginRequestDto;
import com.zzyl.nursing.dto.member.FamilyMemberDto;
import com.zzyl.nursing.dto.member.HealthDto;
import com.zzyl.nursing.vo.*;

import java.util.List;

public interface FamilyMemberService extends IService<FamilyMember> {
    LoginVo login(UserLoginRequestDto userLoginRequestDto);

    List<DayDataVo> queryDeviceDataListByDay(String functionId, Long startTime, Long endTime, String iotId);


    void bind(FamilyMemberDto dto);

    List<FamilyMemberVo> selectMyMember();

    List<FamilyMemberElderPageVo> listByPage();

    List<PropertyStatusInfoVo> QueryDevicePropertyStatus(HealthDto healthDto);

    List<DayDataVo> queryDeviceDataListByWeek(String functionId, Long startTime, Long endTime, String iotId);
}
